<?php
require_once ("../dao/QuestionCongTacVienDAO.php");
if(isset($_POST['act'])) {
	$action = $_POST['act'];
	if($action == 'edith') {
		if(isset($_POST['type']) && isset($_POST['idpe'])) {
			echo(updateDisplayQuestion($_POST['idpe'], $_POST['type']));
		}
	} else if($action == 'del') {
		if(isset($_POST['idpe'])) {
			echo(deleteQuestion($_POST['idpe']));
		}
	}
}
?>